package com.iot.ic.modules.service;

import java.util.List;

import com.iot.ic.modules.model.User;

public interface UserService extends  BaseService{

     User findByMobile(String mobile,int userType) throws Exception;

     User findByNameOrMobile(String mobile,int userType) throws Exception;

     User findByName(String userName,int userType)throws Exception;;

     User saveOrUpdateObject(User user)throws Exception ;

     User updateUser(User user)throws Exception ;

     User findById(Integer id,int userType)throws Exception ;

    void deleteUserById(User user) throws Exception ;

    boolean updateUserRegId(Integer userId, String mRegId) throws Exception ;

	List<User> findUser(Integer id, String name, String hospital, int i) throws Exception ;
}
